home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
32QUERY.PAK
/
QUERY.RC
< prev
next >
Wrap
Text File
|
1997-05-06
|
4KB
|
107 lines
// BDE32 3.x - (C) Copyright 1996 by Borland International
#include "query.rh"
9999 ICON "query.ico"
QUERY_MENU MENU
{
POPUP "&File"
{
MENUITEM "&Open Query...", IDC_LOADQUERY
MENUITEM "&Save Query As...", IDC_SAVEQUERY
MENUITEM "Save &Result As...", IDC_SAVERESULT
MENUITEM SEPARATOR
MENUITEM "E&xit", IDC_EXIT
}
POPUP "&Edit"
{
MENUITEM "&Undo Last Edit", IDM_UNDO
MENUITEM SEPARATOR
MENUITEM "Cu&t", IDM_CUT
MENUITEM "&Copy", IDM_COPY
MENUITEM "&Paste", IDM_PASTE
MENUITEM SEPARATOR
MENUITEM "Clear &Query", IDM_CLEAR
MENUITEM "Clear &Result", IDM_CLEARRESULT
MENUITEM SEPARATOR
MENUITEM "Clear &Both", IDM_DELETE
}
MENUITEM "&Connect", IDC_CONNECT
POPUP "&Max Rows", GRAYED
{
MENUITEM "All Rows", IDM_ALL, CHECKED
MENUITEM "10 Rows", IDM_10
MENUITEM "25 Rows", IDM_25
MENUITEM "50 Rows", IDM_50
MENUITEM "100 Rows", IDM_100
}
POPUP "&Help"
{
MENUITEM "&About", IDC_ABOUT
}
}
AboutDlg DIALOG 6, 15, 193, 83
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "&Ok", IDOK, 71, 65, 50, 14
CTEXT "Query32 SQL/QBE Application", -1, 43, 10, 106, 8
CTEXT "Borland Database Engine Sample Application", -1, 51, 24, 91, 16
ICON 9999, -1, 11, 11, 18, 20, SS_ICON | WS_CHILD | WS_VISIBLE | WS_GROUP
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 5, 5, 183, 57
CTEXT "BDE32 3.x - (C) Copyright 1996 Borland International", -1, 9, 47, 175, 8
}
ConnectDlg DIALOG 7, 19, 286, 204
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Establish and Select Connections"
FONT 8, "MS Sans Serif"
{
LISTBOX IDC_LB_ALIASES, 6, 28, 113, 49, LBS_STANDARD | WS_GROUP | WS_TABSTOP
EDITTEXT IDC_EDIT_PASSWORD, 42, 81, 77, 13, ES_AUTOHSCROLL | ES_PASSWORD | WS_BORDER | WS_TABSTOP
DEFPUSHBUTTON "&Connect", IDC_BTN_CONNECT, 77, 98, 42, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
LISTBOX IDC_LB_CONNECTIONS, 130, 28, 105, 50, LBS_STANDARD | WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Remove", IDC_BTN_REMOVE, 238, 28, 40, 14, WS_GROUP | WS_TABSTOP
EDITTEXT IDC_EDIT_DIRECTORY, 173, 82, 105, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Done", IDOK, 6, 184, 39, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "C&ancel", IDCANCEL, 58, 184, 39, 14
PUSHBUTTON "&Help", IDC_BTN_HELP, 240, 184, 39, 14
LTEXT "<None>", IDS_SELECTED_CONNECTION, 193, 101, 83, 8
LTEXT "No status information available", IDC_STATIC_STATUS, 6, 125, 273, 54, WS_BORDER | WS_GROUP
CTEXT "Establish Connection", -1, 9, 4, 107, 8
CTEXT "Select Active Connection", -1, 127, 4, 111, 8
CTEXT "Available Aliases", -1, 18, 17, 89, 8
CTEXT "Available Connections", -1, 130, 17, 105, 8
RTEXT "Password:", -1, 5, 83, 35, 9
RTEXT "Working Dir:", IDC_DIRECTORY, 129, 84, 42, 8
LTEXT "Active Connection:", -1, 129, 101, 63, 8
LTEXT "Last Error / Status:", -1, 6, 115, 97, 8
}
MainDlg DIALOG 9, 2, 317, 224
STYLE WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
CLASS "MainWindowClass"
CAPTION "Query32 SQL/QBE Application"
MENU QUERY_MENU
FONT 8, "MS Sans Serif"
{
EDITTEXT IDC_QUERY_EDIT, 5, 15, 249, 55, ES_MULTILINE | ES_WANTRETURN | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "Use SQL", IDC_RADIO_SQL, 262, 20, 45, 10, BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP
AUTORADIOBUTTON "Use QBE", IDC_RADIO_QBE, 262, 32, 45, 10
DEFPUSHBUTTON "&Run", IDC_RUN, 262, 52, 43, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
EDITTEXT IDC_RESULT_EDIT, 4, 84, 307, 117, ES_MULTILINE | ES_READONLY | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Query", -1, 5, 5, 60, 8
LTEXT "Result", -1, 5, 75, 60, 8
LTEXT "", IDS_PROGRESS, 8, 208, 164, 10
RTEXT "No connection established", IDS_CURRENT_CONNECTION, 174, 208, 133, 10
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 4, 206, 307, 13
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 258, 14, 53, 56
}